package com.medical.interrogation.controller;

import com.medical.common.core.domain.Result;
import com.medical.interrogation.service.FastVoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/interrogation")
public class FastVoController {

    @Autowired
    private FastVoService fastVoService;

    @PostMapping("/doctorFast/{diseaseId}")
    public Result doctorVoShow(@PathVariable("diseaseId") String diseaseId){
        return Result.success(fastVoService.doctorFastVoShow(diseaseId));
    }
}
